package KK.Event
{
	import KK.GameBase.MSGEvent;
	
	public class ModuleEvent extends MSGEvent
	{
		static public const SHOW:String=AI;
		static public const HIDE:String=AI;
		
		private var id:int;
		public function ModuleEvent(type:String,id:int)
		{
			//TODO: implement function
			super(type);
			
			this.id=id;
			init();
		}
		/**
		 * 初始化  
		 * 
		 */
		private function init():void{
			
		}
		
		/**
		 * 返回id 
		 * @return 
		 * 
		 */
		public function get ID():int{
			return id;
		}
	}
}